<?php

namespace app\api\controller;

use app\common\controller\Api;
use think\Config;
use app\api\model\Shop as ShopModel;

/**
 * 商城套餐
 */
class Shop extends Api
{
    protected $noNeedLogin = ['*'];
    protected $noNeedRight = ['*'];

    public function _initialize()
    {
        parent::_initialize();
    }

    /**
     * 获取列表
     *
     */
    public function getGoodList()
    {
        $model = new ShopModel;
        $list = $model->getList();
        $this->success('请求成功',$list);
    }
}
